package com.sylar.happygps.adapter;

import com.sylar.happygps.R;

import android.app.Activity;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;

public class SearchNavAdapter extends BaseAdapter{
	private Activity context;
	private boolean hasDel = false;
	public SearchNavAdapter(Activity context){
		this.context = context;
	}
	
	public boolean getDel(){
		return hasDel;
	}
	public void setDel(boolean del){
		this.hasDel = del;
	}
	
	@Override
	public int getCount() {
		return 10;
	}

	@Override
	public Object getItem(int arg0) {
		return null;
	}

	@Override
	public long getItemId(int arg0) {
		return 0;
	}

	@Override
	public View getView(int arg0, View arg1, ViewGroup arg2) {
		View searchitem = context.getLayoutInflater().inflate(R.layout.searchitem, null);
		
		return searchitem;
	}

}
